﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.Composition;

namespace TotalSystems.DataAccess.CustomAttributes
{
    [MetadataAttribute]
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
    public class BaseDefenitionsAttribute : Attribute
    {
        public string FieldName { get; set; }

        public bool IsVisible { get; set; }

        public bool IsReadOnly { get; set; }

        public int MaxLength { get; set; }

        public BaseDefenitionsAttribute()
        { }

    }
}
